<template>
    <p @click="$emit('click')">emits自定义事件</p>
</template>
<script lang="ts">
export default {
    name: 'EmitsTest',
    emits: ['click']
}
</script>
<style lang="">
    
</style>